package com.zwk.order.client;

import com.zwk.base.entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zwk
 * @create 2022/9/1 11:36
 */
@FeignClient(name = "service-edu")
public interface CourseClient {

    @PostMapping("/edu/coursefront/getCourseInfoById")
    public CommonResult getCourseInfoById(String id);

}
